High Level APIs

 void sleep_ms(uint32_t ms)
 
Description : Wait for the given number of milliseconds before returning.  
Parameters:
 ms : the number of milliseconds to sleep
Returns: None
Note : This method attempts to perform a lower power sleep (using WFE) as much as possible.
   
■  void sleep_us(uint64_t us)
 
Description : Wait for the given number of microseconds before returning.
Parameters:
 us : the number of microseconds to sleep  
Returns: None
Note : This method attempts to perform a lower power (WFE) sleep.